  /**
   * Generate time : 2012-11-13 7:24:25
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZM95 
 * table comment : 三违记录 
 */
public class ZM95 extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdSourceId = " ";		/* 三违来源ID*/
	private String fdWorknoteId = " ";		/* 巡检工单ID*/
	private String fdManageDepartmentId = " ";		/* 主管部门ID*/
	private String fdManageDepartment = " ";		/* 主管部门*/
	private String fdResponseDepartmentId = " ";		/* 三违部门ID*/
	private String fdResponseDepartment = " ";		/* 三违部门*/
	private String fdStatus = " ";		/* 三违状态*/
	private String fdIsPenalty = " ";		/* 是否罚款*/
	private String fdPenaltyIds = " ";		/* 罚款记录ID'S*/
	private String fdDate = " ";		/* 三违时间*/
	private String fdWorknumId = " ";		/* 三违班次ID*/
	private String fdPlace = " ";		/* 三违地点*/
	private String fdClassifyId = " ";		/* 三违分类ID*/
	private String fdContent = " ";		/* 违章事实*/
	private String fdResponsibilityPeople = " ";		/* 责任人*/
	private String fdCheckPeopleId = " ";		/* 检查人ID*/
	private String fdCheckPeople = " ";		/* 检查人*/
	private String fdWorkfaceId = " ";		/* 所在工作面ID*/
	private String fdPathId = " ";		/* 所在巷道ID*/
	private String fd5examine = " ";		/* 五个到位分类*/
	private String fdQualityStandard = " ";		/* 质量标准化分类*/
	private String fdCreateTime = " ";		/* 创建时间*/
	private String fdCreateUserId = " ";		/* 录入人ID*/
	private String fdCreateUser = " ";		/* 录入人*/
	private String fdName = " ";		/* 三违级别*/
	
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSourceId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("三违来源ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWorknoteId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("巡检工单ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdManageDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主管部门ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdManageDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("主管部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdResponseDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("三违部门ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdResponseDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("三违部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("三违状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdIsPenalty");
	eiColumn.setFieldLength(6);	
	eiColumn.setDescName("是否罚款");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPenaltyIds");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("罚款记录ID'S");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDate");
	eiColumn.setFieldLength(19);	
	eiColumn.setDescName("三违时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWorknumId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("三违班次ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPlace");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("三违地点");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdClassifyId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("三违分类ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdContent");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("违章事实");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdResponsibilityPeople");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("责任人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCheckPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("检查人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCheckPeople");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("检查人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWorkfaceId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("所在工作面ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPathId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("所在巷道ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fd5examine");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("五个到位分类");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdQualityStandard");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("质量标准化分类");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("创建时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateUserId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("录入人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateUser");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("录入人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdName");
	eiColumn.setFieldLength(10);
	eiColumn.setDescName("三违级别");
	eiMetadata.addMeta(eiColumn);
	}
	/**
	 * the constructor
	 */
	public ZM95() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	
	/**
	 * get the fdSourceId - 三违来源ID
	 * @return the fdSourceId
	 */
	public String getFdSourceId() {
		return this.fdSourceId;
	}
	
	/**
	 * set the fdSourceId - 三违来源ID
	 */
	public void setFdSourceId(String fdSourceId) {
		this.fdSourceId = fdSourceId;
	}
	
	/**
	 * get the fdWorknoteId - 巡检工单ID
	 * @return the fdWorknoteId
	 */
	public String getFdWorknoteId() {
		return this.fdWorknoteId;
	}
	
	/**
	 * set the fdWorknoteId - 巡检工单ID
	 */
	public void setFdWorknoteId(String fdWorknoteId) {
		this.fdWorknoteId = fdWorknoteId;
	}
	
	/**
	 * get the fdManageDepartmentId - 主管部门ID
	 * @return the fdManageDepartmentId
	 */
	public String getFdManageDepartmentId() {
		return this.fdManageDepartmentId;
	}
	
	/**
	 * set the fdManageDepartmentId - 主管部门ID
	 */
	public void setFdManageDepartmentId(String fdManageDepartmentId) {
		this.fdManageDepartmentId = fdManageDepartmentId;
	}
	
	/**
	 * get the fdManageDepartment - 主管部门
	 * @return the fdManageDepartment
	 */
	public String getFdManageDepartment() {
		return this.fdManageDepartment;
	}
	
	/**
	 * set the fdManageDepartment - 主管部门
	 */
	public void setFdManageDepartment(String fdManageDepartment) {
		this.fdManageDepartment = fdManageDepartment;
	}
	
	/**
	 * get the fdResponseDepartmentId - 三违部门ID
	 * @return the fdResponseDepartmentId
	 */
	public String getFdResponseDepartmentId() {
		return this.fdResponseDepartmentId;
	}
	
	/**
	 * set the fdResponseDepartmentId - 三违部门ID
	 */
	public void setFdResponseDepartmentId(String fdResponseDepartmentId) {
		this.fdResponseDepartmentId = fdResponseDepartmentId;
	}
	
	/**
	 * get the fdResponseDepartment - 三违部门
	 * @return the fdResponseDepartment
	 */
	public String getFdResponseDepartment() {
		return this.fdResponseDepartment;
	}
	
	/**
	 * set the fdResponseDepartment - 三违部门
	 */
	public void setFdResponseDepartment(String fdResponseDepartment) {
		this.fdResponseDepartment = fdResponseDepartment;
	}
	
	/**
	 * get the fdStatus - 三违状态
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus - 三违状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	
	/**
	 * get the fdIsPenalty - 是否罚款
	 * @return the fdIsPenalty
	 */
	public String getFdIsPenalty() {
		return this.fdIsPenalty;
	}
	
	/**
	 * set the fdIsPenalty - 是否罚款
	 */
	public void setFdIsPenalty(String fdIsPenalty) {
		this.fdIsPenalty = fdIsPenalty;
	}
	
	/**
	 * get the fdPenaltyIds - 罚款记录ID'S
	 * @return the fdPenaltyIds
	 */
	public String getFdPenaltyIds() {
		return this.fdPenaltyIds;
	}
	
	/**
	 * set the fdPenaltyIds - 罚款记录ID'S
	 */
	public void setFdPenaltyIds(String fdPenaltyIds) {
		this.fdPenaltyIds = fdPenaltyIds;
	}
	
	/**
	 * get the fdDate - 三违时间
	 * @return the fdDate
	 */
	public String getFdDate() {
		return this.fdDate;
	}
	
	/**
	 * set the fdDate - 三违时间
	 */
	public void setFdDate(String fdDate) {
		this.fdDate = fdDate;
	}
	
	/**
	 * get the fdWorknumId - 三违班次ID
	 * @return the fdWorknumId
	 */
	public String getFdWorknumId() {
		return this.fdWorknumId;
	}
	
	/**
	 * set the fdWorknumId - 三违班次ID
	 */
	public void setFdWorknumId(String fdWorknumId) {
		this.fdWorknumId = fdWorknumId;
	}
	
	/**
	 * get the fdPlace - 三违地点
	 * @return the fdPlace
	 */
	public String getFdPlace() {
		return this.fdPlace;
	}
	
	/**
	 * set the fdPlace - 三违地点
	 */
	public void setFdPlace(String fdPlace) {
		this.fdPlace = fdPlace;
	}
	
	/**
	 * get the fdClassifyId - 三违分类ID
	 * @return the fdClassifyId
	 */
	public String getFdClassifyId() {
		return this.fdClassifyId;
	}
	
	/**
	 * set the fdClassifyId - 三违分类ID
	 */
	public void setFdClassifyId(String fdClassifyId) {
		this.fdClassifyId = fdClassifyId;
	}
	
	/**
	 * get the fdContent - 违章事实
	 * @return the fdContent
	 */
	public String getFdContent() {
		return this.fdContent;
	}
	
	/**
	 * set the fdContent - 违章事实
	 */
	public void setFdContent(String fdContent) {
		this.fdContent = fdContent;
	}
	
	/**
	 * get the fdResponsibilityPeople - 责任人
	 * @return the fdResponsibilityPeople
	 */
	public String getFdResponsibilityPeople() {
		return this.fdResponsibilityPeople;
	}
	
	/**
	 * set the fdResponsibilityPeople - 责任人
	 */
	public void setFdResponsibilityPeople(String fdResponsibilityPeople) {
		this.fdResponsibilityPeople = fdResponsibilityPeople;
	}
	
	/**
	 * get the fdCheckPeopleId - 检查人ID
	 * @return the fdCheckPeopleId
	 */
	public String getFdCheckPeopleId() {
		return this.fdCheckPeopleId;
	}
	
	/**
	 * set the fdCheckPeopleId - 检查人ID
	 */
	public void setFdCheckPeopleId(String fdCheckPeopleId) {
		this.fdCheckPeopleId = fdCheckPeopleId;
	}
	
	/**
	 * get the fdCheckPeople - 检查人
	 * @return the fdCheckPeople
	 */
	public String getFdCheckPeople() {
		return this.fdCheckPeople;
	}
	
	/**
	 * set the fdCheckPeople - 检查人
	 */
	public void setFdCheckPeople(String fdCheckPeople) {
		this.fdCheckPeople = fdCheckPeople;
	}
	
	/**
	 * get the fdWorkfaceId - 所在工作面ID
	 * @return the fdWorkfaceId
	 */
	public String getFdWorkfaceId() {
		return this.fdWorkfaceId;
	}
	
	/**
	 * set the fdWorkfaceId - 所在工作面ID
	 */
	public void setFdWorkfaceId(String fdWorkfaceId) {
		this.fdWorkfaceId = fdWorkfaceId;
	}
	
	/**
	 * get the fdPathId - 所在巷道ID
	 * @return the fdPathId
	 */
	public String getFdPathId() {
		return this.fdPathId;
	}
	
	/**
	 * set the fdPathId - 所在巷道ID
	 */
	public void setFdPathId(String fdPathId) {
		this.fdPathId = fdPathId;
	}
	
	/**
	 * get the fd5examine - 五个到位分类
	 * @return the fd5examine
	 */
	public String getFd5examine() {
		return this.fd5examine;
	}
	
	/**
	 * set the fd5examine - 五个到位分类
	 */
	public void setFd5examine(String fd5examine) {
		this.fd5examine = fd5examine;
	}
	
	/**
	 * get the fdQualityStandard - 质量标准化分类
	 * @return the fdQualityStandard
	 */
	public String getFdQualityStandard() {
		return this.fdQualityStandard;
	}
	
	/**
	 * set the fdQualityStandard - 质量标准化分类
	 */
	public void setFdQualityStandard(String fdQualityStandard) {
		this.fdQualityStandard = fdQualityStandard;
	}
	
	/**
	 * get the fdCreateTime - 创建时间
	 * @return the fdCreateTime
	 */
	public String getFdCreateTime() {
		return this.fdCreateTime;
	}
	
	/**
	 * set the fdCreateTime - 创建时间
	 */
	public void setFdCreateTime(String fdCreateTime) {
		this.fdCreateTime = fdCreateTime;
	}
	
	/**
	 * get the fdCreateUserId - 录入人ID
	 * @return the fdCreateUserId
	 */
	public String getFdCreateUserId() {
		return this.fdCreateUserId;
	}
	
	/**
	 * set the fdCreateUserId - 录入人ID
	 */
	public void setFdCreateUserId(String fdCreateUserId) {
		this.fdCreateUserId = fdCreateUserId;
	}
	
	/**
	 * get the fdCreateUser - 录入人
	 * @return the fdCreateUser
	 */
	public String getFdCreateUser() {
		return this.fdCreateUser;
	}
	
	/**
	 * set the fdCreateUser - 录入人
	 */
	public void setFdCreateUser(String fdCreateUser) {
		this.fdCreateUser = fdCreateUser;
	}
	
	/**
	 * get the fdName - 三违级别
	 * @return the fdName
	 */
	public String getFdName() {
		return this.fdName;
	}
	
	/**
	 * set the fdName - 三违
	 */
	public void setFdName(String fdName) {
		this.fdName = fdName;
	}
	
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdSourceId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSourceId")), fdSourceId));
		setFdWorknoteId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWorknoteId")), fdWorknoteId));
		setFdManageDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdManageDepartmentId")), fdManageDepartmentId));
		setFdManageDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdManageDepartment")), fdManageDepartment));
		setFdResponseDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdResponseDepartmentId")), fdResponseDepartmentId));
		setFdResponseDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdResponseDepartment")), fdResponseDepartment));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdIsPenalty(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdIsPenalty")), fdIsPenalty));
		setFdPenaltyIds(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPenaltyIds")), fdPenaltyIds));
		setFdDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDate")), fdDate));
		setFdWorknumId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWorknumId")), fdWorknumId));
		setFdPlace(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPlace")), fdPlace));
		setFdClassifyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdClassifyId")), fdClassifyId));
		setFdContent(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdContent")), fdContent));
		setFdResponsibilityPeople(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdResponsibilityPeople")), fdResponsibilityPeople));
		setFdCheckPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCheckPeopleId")), fdCheckPeopleId));
		setFdCheckPeople(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCheckPeople")), fdCheckPeople));
		setFdWorkfaceId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWorkfaceId")), fdWorkfaceId));
		setFdPathId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPathId")), fdPathId));
		setFd5examine(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fd5examine")), fd5examine));
		setFdQualityStandard(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdQualityStandard")), fdQualityStandard));
		setFdCreateTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateTime")), fdCreateTime));
		setFdCreateUserId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateUserId")), fdCreateUserId));
		setFdCreateUser(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateUser")), fdCreateUser));
		
		setFdCreateUser(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdName")), fdName));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdSourceId",StringUtils.toString(fdSourceId, eiMetadata.getMeta("fdSourceId")));	
			map.put("fdWorknoteId",StringUtils.toString(fdWorknoteId, eiMetadata.getMeta("fdWorknoteId")));	
			map.put("fdManageDepartmentId",StringUtils.toString(fdManageDepartmentId, eiMetadata.getMeta("fdManageDepartmentId")));	
			map.put("fdManageDepartment",StringUtils.toString(fdManageDepartment, eiMetadata.getMeta("fdManageDepartment")));	
			map.put("fdResponseDepartmentId",StringUtils.toString(fdResponseDepartmentId, eiMetadata.getMeta("fdResponseDepartmentId")));	
			map.put("fdResponseDepartment",StringUtils.toString(fdResponseDepartment, eiMetadata.getMeta("fdResponseDepartment")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdIsPenalty",StringUtils.toString(fdIsPenalty, eiMetadata.getMeta("fdIsPenalty")));	
			map.put("fdPenaltyIds",StringUtils.toString(fdPenaltyIds, eiMetadata.getMeta("fdPenaltyIds")));	
			map.put("fdDate",StringUtils.toString(fdDate, eiMetadata.getMeta("fdDate")));	
			map.put("fdWorknumId",StringUtils.toString(fdWorknumId, eiMetadata.getMeta("fdWorknumId")));	
			map.put("fdPlace",StringUtils.toString(fdPlace, eiMetadata.getMeta("fdPlace")));	
			map.put("fdClassifyId",StringUtils.toString(fdClassifyId, eiMetadata.getMeta("fdClassifyId")));	
			map.put("fdContent",StringUtils.toString(fdContent, eiMetadata.getMeta("fdContent")));	
			map.put("fdResponsibilityPeople",StringUtils.toString(fdResponsibilityPeople, eiMetadata.getMeta("fdResponsibilityPeople")));	
			map.put("fdCheckPeopleId",StringUtils.toString(fdCheckPeopleId, eiMetadata.getMeta("fdCheckPeopleId")));	
			map.put("fdCheckPeople",StringUtils.toString(fdCheckPeople, eiMetadata.getMeta("fdCheckPeople")));	
			map.put("fdWorkfaceId",StringUtils.toString(fdWorkfaceId, eiMetadata.getMeta("fdWorkfaceId")));	
			map.put("fdPathId",StringUtils.toString(fdPathId, eiMetadata.getMeta("fdPathId")));	
			map.put("fd5examine",StringUtils.toString(fd5examine, eiMetadata.getMeta("fd5examine")));	
			map.put("fdQualityStandard",StringUtils.toString(fdQualityStandard, eiMetadata.getMeta("fdQualityStandard")));	
			map.put("fdCreateTime",StringUtils.toString(fdCreateTime, eiMetadata.getMeta("fdCreateTime")));	
			map.put("fdCreateUserId",StringUtils.toString(fdCreateUserId, eiMetadata.getMeta("fdCreateUserId")));	
			map.put("fdCreateUser",StringUtils.toString(fdCreateUser, eiMetadata.getMeta("fdCreateUser")));	
			
			map.put("fdName",StringUtils.toString(fdName, eiMetadata.getMeta("fdName")));	
		return map;
	
	}
}